<?
	include("include/common.php");

	if(!$loggedin){
		ob_start();
		header("Location: login.php");
	}
	include("include/header.php");
	include("include/accmenu.php");
	if($del){
		// delete;
	}
?>
	<h3>Edit your Portfolio</h3>
	<?=$table2?>
	<tr>
		<td colspan=2>Edit Your Portfolio Below.<br><br></td>
	</tr>
<?
	$this->c=mysql_query("select * from portfolio where user='$myuid'");
	while( $this->d=mysql_fetch_object($this->c) ){
?>
		<tr>
			<td><?=$this->d->title?>
			<td>
				<a href="editimg2.php?oid=<?=$this->d->id?>">Edit</a>
				<a href="editimg.php?del=<?=$this->d->id?>">Delete</a>
			</td>
		</tr>
<?
	}
?>
	<tr>
		<td colspan=2>
			<a href="editimg2.php">Add New Item</a>
		</td>
	</tr>
	</table>
<?	include("include/footer.php");	?>